﻿using System;
using System.Runtime.Serialization;

namespace EzDesk.Apps.Model.Attendance
{
    [DataContract]
    public class DayLeaveInfoItem
    {
        /// <summary>
        /// 假期名称
        /// </summary>
        [DataMember]
        public string LeaveTypeName { get; set; }
        /// <summary>
        /// 假期Id
        /// </summary>
        [DataMember]
        public Guid LeaveId { get; set; }

        /// <summary>
        /// 日期
        /// </summary>
        [DataMember]
        public DateTime Day { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        [DataMember]
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        [DataMember]
        public DateTime EndTime { get; set; }
        /// <summary>
        /// 是否为工作假期
        /// </summary>
        [DataMember]
        public bool IsForWork { get; set; }

    }
}